package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 工艺工序物料
 * @TableName mes_craft_material_ref
 */
@TableName(value ="mes_craft_material_ref")
@Data
public class MesCraftMaterialRef implements Serializable {
    /**
     * 工艺工序投料id
     */
    private Integer id;

    /**
     * 工艺工序id
     */
    private Integer craftProcessId;

    /**
     * 工序投入物料ID
     */
    private Integer materialId;

    /**
     * 物料名称
     */
    @TableField(exist = false)
    private String materialName;

    /**
     * 投料/产出 1-投料 2-产出
     */
    private Integer doInout;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}